package com.gp.model.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldFill;

@TableName("base_goods_property")
public class BaseGoodsProperty extends Model<BaseGoodsProperty> {
  private static final long serialVersionUID = 1L;
  private Long id;

  private Long goodsId;

  private String brand;

  private String goodsName;

  private String goodsType;

  private String seatsTyle;

  private String installWay;

  private String suitAge;

  private String fixedWay;

  private String suitWeight;

  private String supplierName;

  private String productionDate;

  private String placeoforiginCode;

  private String placeoforiginName;

  private String other;
  /**
   * 自定义填充的创建时间
   */
  @TableField(fill = FieldFill.INSERT) // 该注解插入忽略验证，自动填充
  private Date createTime;
  /**
   * 自定义填充的最后一次修改时间
   */
  @TableField(fill = FieldFill.UPDATE) // 该注解插入忽略验证，自动填充
  private Date lastmodifiedTime;

  public BaseGoodsProperty() {}
  
  public BaseGoodsProperty(Long id, Long goodsId, String brand, String goodsName, String goodsType,
      String seatsTyle, String installWay, String suitAge, String fixedWay, String suitWeight,
      String supplierName, String productionDate, String placeoforiginCode,
      String placeoforiginName, String other) {
    this.id = id;
    this.goodsId = goodsId;
    this.brand = brand;
    this.goodsName = goodsName;
    this.goodsType = goodsType;
    this.seatsTyle = seatsTyle;
    this.installWay = installWay;
    this.suitAge = suitAge;
    this.fixedWay = fixedWay;
    this.suitWeight = suitWeight;
    this.supplierName = supplierName;
    this.productionDate = productionDate;
    this.placeoforiginCode = placeoforiginCode;
    this.placeoforiginName = placeoforiginName;
    this.other = other;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getGoodsId() {
    return goodsId;
  }

  public void setGoodsId(Long goodsId) {
    this.goodsId = goodsId;
  }

  public String getBrand() {
    return brand;
  }

  public void setBrand(String brand) {
    this.brand = brand;
  }

  public String getGoodsName() {
    return goodsName;
  }

  public void setGoodsName(String goodsName) {
    this.goodsName = goodsName;
  }

  public String getGoodsType() {
    return goodsType;
  }

  public void setGoodsType(String goodsType) {
    this.goodsType = goodsType;
  }

  public String getSeatsTyle() {
    return seatsTyle;
  }

  public void setSeatsTyle(String seatsTyle) {
    this.seatsTyle = seatsTyle;
  }

  public String getInstallWay() {
    return installWay;
  }

  public void setInstallWay(String installWay) {
    this.installWay = installWay;
  }

  public String getSuitAge() {
    return suitAge;
  }

  public void setSuitAge(String suitAge) {
    this.suitAge = suitAge;
  }

  public String getFixedWay() {
    return fixedWay;
  }

  public void setFixedWay(String fixedWay) {
    this.fixedWay = fixedWay;
  }

  public String getSuitWeight() {
    return suitWeight;
  }

  public void setSuitWeight(String suitWeight) {
    this.suitWeight = suitWeight;
  }

  public String getSupplierName() {
    return supplierName;
  }

  public void setSupplierName(String supplierName) {
    this.supplierName = supplierName;
  }

  public String getProductionDate() {
    return productionDate;
  }

  public void setProductionDate(String productionDate) {
    this.productionDate = productionDate;
  }

  public String getPlaceoforiginCode() {
    return placeoforiginCode;
  }

  public void setPlaceoforiginCode(String placeoforiginCode) {
    this.placeoforiginCode = placeoforiginCode;
  }

  public String getPlaceoforiginName() {
    return placeoforiginName;
  }

  public void setPlaceoforiginName(String placeoforiginName) {
    this.placeoforiginName = placeoforiginName;
  }

  public String getOther() {
    return other;
  }

  public void setOther(String other) {
    this.other = other;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Date getLastmodifiedTime() {
    return lastmodifiedTime;
  }

  public void setLastmodifiedTime(Date lastmodifiedTime) {
    this.lastmodifiedTime = lastmodifiedTime;
  }

  @Override
  protected Serializable pkVal() {
    return id;
  }
  
}
